.class public Lcom/netease/newsreader/bean/VoteBean;
.super Ljava/lang/Object;
.source "VoteBean.java"

# interfaces
.implements Ljava/io/Serializable;


# static fields
.field private static final serialVersionUID:J = 0x23e7d3c99d2a1d1aL


# instance fields
.field private id:Ljava/lang/String;

.field private itemLsit:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List",
            "<",
            "Ljava/util/Map",
            "<",
            "Ljava/lang/String;",
            "Ljava/lang/Object;",
            ">;>;"
        }
    .end annotation
.end field

.field private itemQuestion:Ljava/lang/String;

.field private itemTitle:Ljava/lang/String;


# direct methods
.method public constructor <init>()V
    .locals 0

    .prologue
    .line 9
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public getAllVoteNum()J
    .locals 7

    .prologue
    .line 42
    const-wide/16 v2, 0x0

    .line 43
    .local v2, number:J
    iget-object v4, p0, Lcom/netease/newsreader/bean/VoteBean;->itemLsit:Ljava/util/List;

    invoke-interface {v4}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v4

    :goto_0
    invoke-interface {v4}, Ljava/util/Iterator;->hasNext()Z

    move-result v5

    if-nez v5, :cond_0

    .line 47
    return-wide v2

    .line 43
    :cond_0
    invoke-interface {v4}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/util/Map;

    .line 44
    .local v0, m:Ljava/util/Map;,"Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;"
    const-string v5, "num"

    invoke-interface {v0, v5}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v5

    invoke-virtual {v5}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v5

    invoke-static {v5}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I

    move-result v1

    .line 45
    .local v1, num:I
    int-to-long v5, v1

    add-long/2addr v2, v5

    goto :goto_0
.end method

.method public getId()Ljava/lang/String;
    .locals 1

    .prologue
    .line 18
    iget-object v0, p0, Lcom/netease/newsreader/bean/VoteBean;->id:Ljava/lang/String;

    return-object v0
.end method

.method public getItemLsit()Ljava/util/List;
    .locals 1
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Ljava/util/List",
            "<",
            "Ljava/util/Map",
            "<",
            "Ljava/lang/String;",
            "Ljava/lang/Object;",
            ">;>;"
        }
    .end annotation

    .prologue
    .line 24
    iget-object v0, p0, Lcom/netease/newsreader/bean/VoteBean;->itemLsit:Ljava/util/List;

    return-object v0
.end method

.method public getItemQuestion()Ljava/lang/String;
    .locals 1

    .prologue
    .line 36
    iget-object v0, p0, Lcom/netease/newsreader/bean/VoteBean;->itemQuestion:Ljava/lang/String;

    return-object v0
.end method

.method public getItemTitle()Ljava/lang/String;
    .locals 1

    .prologue
    .line 30
    iget-object v0, p0, Lcom/netease/newsreader/bean/VoteBean;->itemTitle:Ljava/lang/String;

    return-object v0
.end method

.method public setId(Ljava/lang/String;)V
    .locals 0
    .parameter "id"

    .prologue
    .line 21
    iput-object p1, p0, Lcom/netease/newsreader/bean/VoteBean;->id:Ljava/lang/String;

    .line 22
    return-void
.end method

.method public setItemLsit(Ljava/util/List;)V
    .locals 0
    .parameter
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/List",
            "<",
            "Ljava/util/Map",
            "<",
            "Ljava/lang/String;",
            "Ljava/lang/Object;",
            ">;>;)V"
        }
    .end annotation

    .prologue
    .line 27
    .local p1, itemLsit:Ljava/util/List;,"Ljava/util/List<Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;>;"
    iput-object p1, p0, Lcom/netease/newsreader/bean/VoteBean;->itemLsit:Ljava/util/List;

    .line 28
    return-void
.end method

.method public setItemQuestion(Ljava/lang/String;)V
    .locals 0
    .parameter "itemQuestion"

    .prologue
    .line 39
    iput-object p1, p0, Lcom/netease/newsreader/bean/VoteBean;->itemQuestion:Ljava/lang/String;

    .line 40
    return-void
.end method

.method public setItemTitle(Ljava/lang/String;)V
    .locals 0
    .parameter "itemTitle"

    .prologue
    .line 33
    iput-object p1, p0, Lcom/netease/newsreader/bean/VoteBean;->itemTitle:Ljava/lang/String;

    .line 34
    return-void
.end method
